package com.atguigu.meinian.mapper;

import com.atguigu.meinian.pojo.TravelItem;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zbystart
 * @create 2021-06-19 15:56
 */
public interface TravelItemMapper {

    void insert(TravelItem travelItem);

    Page<TravelItem> selectTravelitemList(@Param("queryString") String queryString);

    TravelItem selectTravelitemById(@Param("id") Integer id);

    void updateTravelItemById(TravelItem travelItem);

    int selectTravelItemRelation(@Param("id") Integer id);

    void deleteTravelItemById(@Param("id") Integer id);

//    List<TravelItem> selectTravelItemsByTravelGroupId(@Param("travelGroupId") Integer travelGroupId);
}
